{$CLEO .cs}
0000:
if $TOTAL_CONVERSION_MAP <= 0
then

else
    show_text_highpriority "~r~This map isn't supportted"  3000
    end_thread
end
0247: load_model  	1239
0247: load_model  	1210
0247: load_model   1279 
0247: load_model   364 
0247: load_model   1654 
0247: load_model   1273 
0247: load_model  1272                   
0247: load_model   1274
038B: load_requested_models

const
PICKUP_INFO_ICON = 1239
Bomb_dym =  1654
Suitcases =    1210
Drug_item =  1279 
denator_pickup =  364 
green_house =  1273
blue_green = 1272
big_dollar_icon = 1274
drug_1 = 1575
drug_2 = 1576
drug_3 = 1577
drug_4 = 1578
drug_5 = 1579
drug_6 = 1580
keycard = 1581


end
       0@ = marker.CreateIconAndSphere( 37 , -229.2789, 2725.8899, 62.6875 )
:goback        
while $onmission >= 1 
wait 0
    if  00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere -229.2789 2725.8899 62.6875 radius 100.0 100.0 100.0
    then
        if and
        not actor.Driving($PLAYER_ACTOR)
        0102:   actor $PLAYER_ACTOR in_sphere  -229.2789 2725.8899 62.6875 radius 3.2 3.2 3.0 sphere 0  stopped_on_foot
        then
            if  $crime_rate < 60.0
            then
            
            else
              show_styled_text "~b~Wait until the crime rate get very lower" 3000 5 
              jump @goback 
            end 
            1@ = pickup.Create( drug_1,3, -164.285, 2766.0415, 62.6799 )
            2@ = pickup.Create( drug_2,3, -233.5908, 2813.6411, 61.8686 )
            3@ = pickup.Create( drug_3,3, -224.4338, 2713.4255, 67.0733 )
            4@ = pickup.Create( drug_4,3, -236.8859, 2663.2976, 63.8585 )
            5@ = pickup.Create( drug_5,3, -141.309, 2694.5491, 62.3758 )
            6@ = pickup.Create( drug_6,3,  -311.4482, 2721.7781, 66.1509)
            7@ = pickup.Create( drug_2,3,-307.8814, 2651.5674, 68.3772 )
            8@ = pickup.Create( drug_3,3,  -263.7836, 2587.2349, 63.5703)
            9@ = pickup.Create( drug_4,3, -281.3885, 2679.1865, 62.6329 )
            33@ = 0 
            show_styled_text "~w~Find the Hidden Packages in 2-minutes before they disappear! - ~y~Must contain cash!" 5000 5 

            while $onmission >= 1  
            wait 0 
                if pickup.Picked_up(1@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(2@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(3@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(4@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(5@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(6@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(7@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(8@)
                then
                    gosub @text 
                end
                if pickup.Picked_up(9@)
                then
                    gosub @text 
                end
                
                if 33@ > 120000
                then
                 show_styled_text "~y~Time's up!" 5000 5 

                   break 
                end
                if  $wave >= 2
                then 
                  show_styled_text "~w~You cause too much trouble!" 3000 5 
                   breaK  
                end        
                {        
                if  $wave >= 3
                then 
                  show_styled_text "~R~Your banned for this activity!" 3000 5 
                   break 
                end  }              
            end
            pickup.Destroy(1@ )
            pickup.Destroy(2@ )
            pickup.Destroy(3@ )
            pickup.Destroy(4@ )
            pickup.Destroy(5@ )
            pickup.Destroy(6@ )
            pickup.Destroy(7@ )
            pickup.Destroy(8@ )
            pickup.Destroy(9@ )
            
            jump @GAMEOVER          
        end 
    else
    end
end 
:gameover
marker.Disable(0@)  
 terminate_this_custom_script

:text
 0109: player $PLAYER_CHAR money += 5000
$P1_RP_Score += 2500
$P2_RP_Score += 2500
if 32@ < 10000
then
show_styled_text "~w~Hidden Package collected!~n~~r~Your Abusing it!" 5000 5 
 0109: player $PLAYER_CHAR money += 1250
$P1_RP_Score += 500
$P2_RP_Score += 500
   
    $crime_rate += 40.0
else
show_styled_text "~w~Hidden Package collected!" 5000 5 
   $crime_rate += 10.0

end

if 32@ < 5000
then
    show_styled_text "~r~Hidden Package Abused!" 5000 5 
$crime_rate += 90.0
 0109: player $PLAYER_CHAR money += 3500
$P1_RP_Score += 1000
$P2_RP_Score += 1000
end
32@ = 0 
//0ACF: show_formatted_styled_text "This is %.4X opcode" time 2000 style 1 0x0ACF

return 